<?php


namespace app\controller;

use \app\service\uploadFileService;
use think\response\Json;

class UploadFile
{
    //上传图片到服务器
    public function uploadImg():Json
    {
        return uploadFileService::uploadImg('image');
    }
}